package com.xyzm.demo.dmhr.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yy
 * @since 2021-08-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("DMHR.LOCATION")
@ApiModel(value="Location对象", description="")
public class Location implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "LOCATIONID", type = IdType.AUTO)
    private Integer locationid;

    @TableField("LOCATION_ID")
    private Integer locationId;

    @TableField("PRODUCT_SUBCATEGORYID")
    private Integer productSubcategoryid;

    @TableField("STREET_ADDRESS")
    private String streetAddress;

    @TableField("NAME")
    private String name;

    @TableField("POSTAL_CODE")
    private String postalCode;

    @TableField("CITY_ID")
    private String cityId;


}
